﻿using CoffeeShop.DAO;
using CoffeeShop.Models.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CoffeeShop.BIZ
{
    public class UnitBiz
    {
        private UnitDao _unitDao = new UnitDao();

        /// <summary>
        /// Get all units in DB
        /// </summary>
        /// <returns></returns>
        public List<Unit> GetListUnits()
        {
            return _unitDao.GetListUnits();
        }
    }
}